'Declaration Public Overloads Shadows Function Add(Of TKey)( _ ByVal keySelector As Expression(Of Func(Of T,TKey)) _ ) As Index(Of T,TKey)
public new Index<T,TKey> Add<TKey>( Expression<Func<T,TKey>> keySelector )
Parameters
- keySelector
- Key selector expression of the index, see IndexDefinition<T>.KeySelector.
Type Parameters
- TKey
- The type of the index key.
Return Value
The new index added to the collection of indexes.